package com.cskaoyan.util;

import java.util.UUID;

public class FileUtil {

    public static String generateUUIDName(String fileName) {
        String suffix = fileName.substring(fileName.lastIndexOf("."));
        String randomPrefix = UUID.randomUUID().toString();
        return randomPrefix + suffix;
    }
}
